<div class="users form">
<?php echo $this->Form->create('User');?>
	<fieldset>
 		<legend><?php __('Register'); ?></legend>
	<?php
		echo $this->Form->input('username');
		echo $this->Form->input('password');
                echo $this->Form->input('password_confirmation', array('type'=>'password'));
		echo $this->Form->input('name');
		echo $this->Form->input('address');
		echo $this->Form->input('city');
		echo $this->Form->input('province');
		echo $this->Form->input('postal_code');
		echo $this->Form->input('email_address');
                if ($admin) {
                    echo $this->Form->input('role');
                }
		#echo $this->Form->input('Order');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php if($admin) echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
	</ul>
</div>